Crate batbox_logger

source ·
Expand description

Logging

Initialize the logger using one of the methods here, then just use the log crate stuff

batbox_logger::init();
log::info!("This is a doctest");

Functions

  • Add another custom logger to use in addition to the main one
  • Get the default logger builder configuration
  • Initialize using default config
  • Initialize for tests ([crates::env_logger::Builder::is_test])
  • Initialize with a custom config
  • Initialize using default config, or return error